#pragma once

#include <ice/ice.h>

#pragma comment(lib , "iced.lib")
#pragma comment(lib , "iceutild.lib")

#include "ClientProtocal.h"
#include "probasecl.h"
#include <map>

using namespace ClientProtocal ;

class ProClientCL ;

class RecvUserLoginCL : public UserLogin
{
public:
	RecvUserLoginCL(ProClientCL * parent_);
	virtual ~RecvUserLoginCL(void);

public:
	void Login_async(const ::ClientProtocal::AMD_UserLogin_LoginPtr&, 
		             const ::std::string&, const ::std::string&, 
					 const ::ClientProtocal::messageCBPrx&msgCB_, 
					 const ::Ice::Current& = ::Ice::Current()) ;

	void Regist_async(const ::ClientProtocal::AMD_UserLogin_RegistPtr&, 
		              const ::std::string&, 
					  const ::std::string&, 
					  const ::Ice::Current& = ::Ice::Current())  ;

	void IsUserNameCanUse_async(const ::ClientProtocal::AMD_UserLogin_IsUserNameCanUsePtr&, 
		                        const ::std::string&, 
								const ::Ice::Current& = ::Ice::Current()) ;

public:
	ProClientCL * GetParent() ;

protected:
	ProClientCL   * m_parent ;

};
